From 342f02711b892fe233a9868e58c03a6862ab40b5 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Wed, 11 Aug 2021 14:33:38 +0500 Subject: [PATCH] widget: Fix gtk_widget_class_query_action() annotations Add transfer none on all out values as they aren't being copied. --- gtk/gtkwidget.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 825276b8f1..2a8e288232 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -12603,10 +12603,10 @@ gtk_widget_action_set_enabled (GtkWidget *widget, * gtk_widget_class_query_action: * @widget_class: a `GtkWidget` class * @index_: position of the action to query - * @owner: (out): return location for the type where the action was defined - * @action_name: (out): return location for the action name - * @parameter_type: (out) (nullable): return location for the parameter type - * @property_name: (out) (nullable): return location for the property name + * @owner: (out) (transfer none): return location for the type where the action was defined + * @action_name: (out) (transfer none): return location for the action name + * @parameter_type: (out) (transfer none) (nullable): return location for the parameter type + * @property_name: (out) (transfer none) (nullable): return location for the property name * * Returns details about the @index_-th action that has been * installed for @widget_class during class initialization. -- 2.30.2